<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="${pageContext.request.contextPath}/">
    <title>修改</title>
</head>
<body>
<div style="text-align: center">
<table border="1" width="600" align="center">
    <h1>修改</h1>
    <form action="updateCat.do" method="post">
        <input type="hidden" name="cno" value="${cat.cno}">
        <p>
            <label>名字</label>
            <input type="text" name="cname" value="${cat.cname}">
        </p>
        <p>
            <label>年龄</label>
            <input type="text" name="cage" value="${cat.cage}">
        </p>
        <p>
            <label>品种</label>
            <input type="text" name="species" value="${cat.species}">
        </p>
        <p>
            <label>主人</label>
            <input type="text" name="master" value="${cat.master}">
        </p>
        <p>
            <button type="submit">提交</button>
        </p>
    </form>
</table>
</div>
</body>
</html>
